'''CopyRight WangShiheng(C) 2021'''
import os
Regcfg = {
    'CoreVersion':['pre','1.0.0'],
    'CorePath':os.path.join(os.getcwd(),'Core.exe'),
    'ToolPath':os.path.join(os.getcwd(),'dist'),
    'cfgPath':os.path.join(os.getcwd(),'dist\cfg')
}
#imports
import _SaveReg
_SaveReg.SaveCoreReg(Regcfg)
for file_name in os.listdir('.\dist\cfg'):
    _SaveReg.save_reg('.\dist\cfg\%s'%file_name)